How to Measure Heteroscedasticity in Regression? {https://t.co/axs3DwkCYT} #rstats #DataScience
— R-bloggers (@Rbloggers) July 28, 2021
Getting geo data into SQL Server using API and R {https://t.co/JrHP1qtYZo} #rstats #DataScience
— R-bloggers (@Rbloggers) August 2, 2021
Use racing methods to tune xgboost models and predict home runs {https://t.co/muMFXhau9s} #rstats #DataScience
— R-bloggers (@Rbloggers) July 30, 2021
Shiny Video Game: How to Build An Award Winning App in R {https://t.co/6tSIxLAP4z} #rstats #DataScience
— R-bloggers (@Rbloggers) July 29, 2021
Plotly for Data Visualization: The Vaccinations Effect on Covid-19 {https://t.co/mhKiSvpREr} #rstats #DataScience
— R-bloggers (@Rbloggers) August 2, 2021
Working with tree-based hierarchies using data.tree {https://t.co/2lyH4GRAuR} #rstats #DataScience
— R-bloggers (@Rbloggers) July 31, 2021
How to Calculate Mean Absolute Error in R {https://t.co/646SwoUQg8} #rstats #DataScience
— R-bloggers (@Rbloggers) July 30, 2021
RDCOMClient : read and write Excel, and call VBA macro in R {https://t.co/TOgfNsLVO3} #rstats #DataScience
— R-bloggers (@Rbloggers) July 29, 2021
parallel grid search cross-validation using `crossvalidation` {https://t.co/cFUpXuXVoE} #rstats #DataScience
— R-bloggers (@Rbloggers) July 31, 2021
How to Run Shiny on Virtual Machines the Hard Way {https://t.co/wZOH03wrOn} #rstats #DataScience
— R-bloggers (@Rbloggers) July 29, 2021
Let users choose which plot you want to show {https://t.co/UrzRAW3gz1} #rstats #DataScience
— R-bloggers (@Rbloggers) July 28, 2021
RDCOMClient : A Simple Libor IRS Pricing with OIS Discounting {https://t.co/1pPWtdrfpQ} #rstats #DataScience
— R-bloggers (@Rbloggers) July 31, 2021
Caching the results of functions of your R package {https://t.co/8XOR4KCd8o} #rstats #DataScience
— R-bloggers (@Rbloggers) July 30, 2021
Prediction for the 100m final at the Tokyo Olympics {https://t.co/SBZfkHl5Rw} #rstats #DataScience
— R-bloggers (@Rbloggers) July 29, 2021
R is for Research, Python is for Production {https://t.co/NVCRQnvTjW} #rstats #DataScience
— R-bloggers (@Rbloggers) July 12, 2021
How to organize your analyses with R Studio Projects {https://t.co/yKvlwGSOYa} #rstats #DataScience
— R-bloggers (@Rbloggers) July 21, 2021
FeatureTerminatoR – a package to remove unimportant variables from statistical and machine l {https://t.co/bD8tbLZmUZ} #rstats #DataScience
— R-bloggers (@Rbloggers) July 15, 2021
Soccer Analytics for Beginners: An R Tutorial on EURO 2020 Data – Web Scraping & Radar Plots {https://t.co/wk5XdvxfWU} #rstats #DataScience
— R-bloggers (@Rbloggers) July 20, 2021
ggdist: Make a Raincloud Plot to Visualize Distribution in ggplot2 {https://t.co/Buy86bYiwS} #rstats #DataScience
— R-bloggers (@Rbloggers) July 22, 2021
ggplot: plot only some of the data {https://t.co/f2OoQUGd0k} #rstats #DataScience
— R-bloggers (@Rbloggers) July 12, 2021
How to perform ANCOVA in R {https://t.co/J4GIrRDJbG} #rstats #DataScience
— R-bloggers (@Rbloggers) July 22, 2021
How to Create a Covariance Matrix in R {https://t.co/AXUGktYu07} #rstats #DataScience
— R-bloggers (@Rbloggers) July 11, 2021
Exploratory Functional PCA with Sparse Data {https://t.co/49KGdNmyKI} #rstats #DataScience
— R-bloggers (@Rbloggers) July 8, 2021
June 2021: “Top 40” New CRAN Packages {https://t.co/vfApIFm7HI} #rstats #DataScience
— R-bloggers (@Rbloggers) July 27, 2021
Taking Outlier Treatment to the Next Level {https://t.co/yBzhcfQYcX} #rstats #DataScience
— R-bloggers (@Rbloggers) July 6, 2021
COUNTIF Function in R {https://t.co/I6251dIRMJ} #rstats #DataScience
— R-bloggers (@Rbloggers) July 18, 2021
---
title: "RBloggers Top Tweets"
output:
flexdashboard::flex_dashboard:
vertical_layout: scroll
source_code: embed
theme:
version: 4
bootswatch: yeti
css: styles/main.css
---
```{r setup, include=FALSE}
library(flexdashboard)
library(dplyr)
library(httr)
library(lubridate)
library(jsonlite)
library(purrr)
rbloggers <- fromJSON("data/rbloggers.json")
get_tweet_embed <- function(user, status_id) {
url <-
stringr::str_glue(
"https://publish.twitter.com/oembed?url=https://twitter.com/{user}/status/{status_id}&partner=&hide_thread=false"
)
response <- GET(url) %>%
content()
return(shiny::HTML(response$html))
}
```
Column {.tabset .tabset-fade}
-----------------------------------------------------------------------
### Top Tweets - 7 days {.tweet-wall}
```{r}
rblog_7 <- rbloggers %>%
mutate(created_at = as_date(created_at)) %>%
filter(created_at %within% interval(start = today() - 7, end = today())) %>%
slice_max(favorite_count + retweet_count, n = 12)
rblog_7_html <-
map2_chr(rblog_7$screen_name, rblog_7$status_id, get_tweet_embed)
shiny::HTML(stringr::str_glue("{rblog_7_html}"))
```
### Top Tweets - 30 days {.tweet-wall}
```{r}
rblog_30 <- rbloggers %>%
mutate(created_at = as_date(created_at)) %>%
filter(created_at %within% interval(start = today() - 30, end = today())) %>%
slice_max(favorite_count + retweet_count, n = 12)
rblog_30_html <-
map2_chr(rblog_30$screen_name, rblog_30$status_id, get_tweet_embed)
shiny::HTML(stringr::str_glue("{rblog_30_html}"))
```